//
//  CPTabBarItem.h
//  CPTabBarController
//
//  Created by Morplcp on 2018/11/6.
//  Copyright © 2018 morplcp. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CPTabBar, CPTabBarButton;
typedef NS_ENUM(NSUInteger, CPBadgeType) {
    CPBadgeTypeNumber,
    CPBadgeTypeDot
};

@interface CPTabBarItem : UITabBarItem

@property (nonatomic, weak) CPTabBar *cp_tabBar;
@property (nonatomic, weak) CPTabBarButton *cp_tabBarButton;
@property (nonatomic, weak) UIViewController *viewController;

@property (nonatomic, assign) CPBadgeType badgeType;
@property (nonatomic, assign) NSInteger badgeNumber;
@property (nonatomic, copy) NSString *badgeIcon;
@property (nonatomic, strong) UIColor *badgeTitleColor;
@property (nonatomic, assign) BOOL showBadgeDot;

@end
